/*
*	(*^。^*) TFrameWork License (*^。^*)
*/

/*
 *  Title :  
 *          
 *  Description :  
 *          
 *          
 *  Date : 
 *
 *  Author : DengPing
 *
 *  Modify : 
 */
using UnityEngine;

namespace TFrameWork.Module.ActionEditor
{
    public enum TriggerType
    {
        Box,
        Sphere,
        Sector,
    }

    [System.Serializable, TrackDataKey(nameof(TriggerEvent))]
    public class TriggerEvent : RecordTrackEventBase
    {
        public string tag;
        public TriggerType type;

        public override object Clone()
        {
            var clone =  base.Clone() as TriggerEvent;
            clone.tag = tag;
            clone.type = type;
            return clone;
        }
    }
}
